Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODTransform


GetScale

The GetScale method returns this transform's horizontal and vertical scaling factors in the specified structure.

void GetScale (out ODPoint scale);
scale
A point specifying the horizontal (x) and vertical (y) scaling factors.
DISCUSSION
Two elements in the transform's matrix specify the amount by which a shape is scaled. The horizontal scaling factor is determined by the element in the top-left corner of the matrix. The vertical scaling factor is governed by the element in the center of the matrix.

SEE ALSO
The ODPoint type (page 885).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help